body{
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    overflow-x: hidden;
    font: normal 14px/1.5 Tahoma,"Lucida Grande",Verdana,"Microsoft Yahei",STXihei,hei;
    color: #000;
    -webkit-tap-highlight-color: transparent;
}
a{
    text-decoration: none;
    color: #222222;
}
ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
div{
    box-sizing: border-box;
}
.search-index{
    display: flex;
    /* 固定定位跟父级没关系,他以屏幕为准 */
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    /* 固定的盒子应该有宽度 */
    width: 100%;
    max-width: 540px;
    min-width: 320px;
    height: 44px;
    background-color: #f6f6f6;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.search{
    position: relative;
    height: 26px;
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 7px 10px;
    color: #666666;
    padding-left: 25px;
    font-size: 12px;
    line-height: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
}
.search::before{
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    width: 15px;
    height: 15px;
    background: url(../images/sprite.png) no-repeat -59px -279px;
    background-size: 104px auto;
}
.user{
    width: 44px;
    height: 44px;
    margin: 0 auto;
    color: #2eaae0;
    text-align: center;
    font-size: 12px;
}
.user::before{
    content: "";
    display: block;
    width: 23px;
    height: 23px;
    background: url(../images/sprite.png) no-repeat -59px -194px;
    background-size: 104px auto;
    margin: 4px auto -2px;
}
.focus{
    width: 100%;
    overflow: hidden;
    padding-top: 44px;
}

.focus ul{
    overflow: hidden;
    width: 500%;
    margin-left: -100%;
}

.focus ul li{
    float: left;
    width: 20%;
}
.focus ul li img{
    width: 100%;
}
.yuandian{
    position: absolute;
    top: 95px;
    right: 30px;
    margin: 0;
}
.yuandian li{
    list-style: none;
    width: 5px;
    height: 5px;
    background-color: blue;
    display: inline-block;
    border-radius: 5px;
    transition: All 0.3s;
}
.yuandian .current{
    width: 10px;
}
.local-nav{
    height: 64px;
    border-radius: 8px;
    background-color: #fff;
    margin: 3px 4px;
}
.local-nav ul{
    display: flex;
}
.local-nav a{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}
.local-nav ul li{
    float: left;
    flex: 1;
    
}
.local-nav li [class^="local-nav-icon"]{
    width: 32px;
    height: 32px;
    background-color: pink;
    margin-top: 5px;
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size: 32px auto;
}
.local-nav li .local-nav-icon-icon2{
    background-position: 0 -32px;
}
.local-nav li .local-nav-icon-icon3{
    background-position: 0 -64px;
}
.local-nav li .local-nav-icon-icon4{
    background-position: 0 -96px;
}
.local-nav li .local-nav-icon-icon5{
    background-position: 0 -128px;
}
/* nav */
nav{
    margin: 0 4px 0px;
    border-radius: 8px;
    overflow: hidden;
}
.nav-common{
    display: flex;
    height: 88px;
    background-color: pink;
    margin-bottom: 3px;
}
.nav-items{
    display: flex;
    flex: 1;
    flex-direction: column;
}

.nav-items a{
    flex: 1;
    line-height: 42px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    text-shadow: 1px 1px rgba(0, 0, 0, .2);
}
.nav-items a:nth-child(1){
    border-bottom: 1px solid #fff;
}
.nav-items:nth-child(1) a{
    border: 0;
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;
}
.nav-items:nth-child(-n+2){
    border-right: 1px solid #fff;
}
.nav-common:nth-child(1){
    background: -webkit-linear-gradient(left,#fa5a55,#fa994d);
}
.nav-common:nth-child(2){
    background: -webkit-linear-gradient(left,#4b90ed,#53bced);
}
.nav-common:nth-child(3){
    background: -webkit-linear-gradient(left,#34c2a9,#6cd559);
}
.subnav-entry{
    display: flex;
    border-radius: 8px;
    background-color: #fff;
    flex-wrap: wrap;
    margin: 0 4px;
    padding: 5px 0;
}
.subnav-entry a{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.subnav-entry li [class^="subnav-entry-icon"]{
    width: 28px;
    height: 28px;
    margin-top: 4px;
    background: url(../images/subnav-bg.png) no-repeat 0 0;
    background-size: 28px auto;
}
.subnav-entry li{
    flex: 20%;
}
.subnav-entry li .subnav-entry-icon-icon2{
    background-position: 0 -28px;
}
.subnav-entry li .subnav-entry-icon-icon3{
    background-position: 0 -60px;
}
.subnav-entry li .subnav-entry-icon-icon4{
    background-position: 0 -84px;
}
.subnav-entry li .subnav-entry-icon-icon5{
    background-position: 0 -112px;
}
.subnav-entry li .subnav-entry-icon-icon6{
    background-position: 0 -140px;
}
.subnav-entry li .subnav-entry-icon-icon7{
    background-position: 0 -168px;
}
.subnav-entry li .subnav-entry-icon-icon8{
    background-position: 0 -196px;
}
.subnav-entry li .subnav-entry-icon-icon9{
    background-position: 0 -224px;
}
/* .sales-box */
.sales-box{
    border-top: 1px solid #bbb;
    margin: 4px;
    background-color: #fff;
}
.sales-box-hd{
    position: relative;
    border-bottom: 1px solid #ccc;
    height: 44px;
}
.sales-box-hd h2{
    position: relative;
    text-indent: -999px;
    overflow: hidden;
}
.sales-box-hd h2::after{
    position: absolute;
    content: "";
    width: 79px;
    height: 15px;
    top: 5px;
    left: 8px;
    background: url(../images/hot.png) no-repeat 0 -20px;
    background-size: 79px auto;
}
.sales-box-hd .more{
    position: absolute;
    right: 5px;
    top: 0px;
    background: -webkit-linear-gradient(left,#ff506c,#ff6bc6);
    border-radius: 15px;
    padding: 3px 20px 3px 10px;
    color: #fff;
}
.more::after{
    content: "";
    position: absolute;
    right: 9px;
    top: 9px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right:2px solid #fff;
    transform: rotateZ(45deg);
}
.row{
    display: flex;
}
.row a{
    flex: 1;
    border-bottom: 1px solid #eee;
}
.row a:nth-child(1){
    border-right: 1px solid #eee;
}
.row a img{
    width: 100%;
}
.goBack{
    display: none;
    position: fixed;
    bottom: 50px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: royalblue;
    border-radius: 20px;
    line-height: 50px;
    text-align: center;
    color: #fff;
    font-size: 16px;
}
